Skip to content

Update to Ubuntu 24 Compatible Version#2

Merged
bmedenwald merged 73 commits intosimplymadeapps:masterfrom
bmedenwald:ubuntu-24
Jan 6, 2025
Merged

Update to Ubuntu 24 Compatible Version#2
bmedenwald merged 73 commits intosimplymadeapps:masterfrom
bmedenwald:ubuntu-24

Conversation

@bmedenwald
Copy link
Copy Markdown

No description provided.

ruby-builder-bot and others added 30 commits April 26, 2024 11:20
* The corresponding tests were removed in e16528e.
  They could be re-added but should generate these files dynamically to avoid confusion.
* Simpler and more consistent that way.
* Avoids rerunning the post-install hook every time.
* Is this the best error message ever?
ioquatix and others added 28 commits October 5, 2024 20:46
* Remove the ASan Debugging section for now as it seems mostly redundant.
  Native extensions are automatically compiled with ASan, so there is nothing special to do to use it.
If set up `rubygems: latest` in workflow,
it will cause the error with Ruby 3.0 because the latest rubygems does not support Ruby 3.0.

Ref. https://rubygems.org/gems/rubygems-update

### Error message
```
Updating RubyGems
  /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/gem --version
  3.2.33
  Default RubyGems version is 3.2.33
  Updating RubyGems to latest version
  /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/gem update --system
  ERROR:  Error installing rubygems-update:
  	rubygems-update-3.6.1 requires Ruby version >= 3.1.0. The current ruby version is 3.0.7.220.
  ERROR:  While executing gem ... (NoMethodError)
      undefined method `version' for nil:NilClass
  Updating rubygems-update
  Took   2.86 seconds
Error: The process '/opt/hostedtoolcache/Ruby/3.0.7/x64/bin/gem' failed with exit code 1
```

### How to reproduce
```
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: "3.0"
          rubygems: latest
```
@bmedenwald bmedenwald merged commit 3943272 into simplymadeapps:master Jan 6, 2025
@bmedenwald bmedenwald deleted the ubuntu-24 branch January 6, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants